Skip to content

Conversation

@tcdent
Copy link
Contributor

@tcdent tcdent commented Mar 24, 2025

TODO

  • Verify the value returned by trace_id_to_uuid is the correct format for the dashboard. *This needs to be a hex string, but not a UUID. *

@tcdent tcdent requested a review from dot-agi March 24, 2025 21:24
@codecov
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Member

@dot-agi dot-agi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment regarding the APP_URL.

Tested it, URL looks good!

@tcdent
Copy link
Contributor Author

tcdent commented Mar 24, 2025

Updated this to generate hex strings which matches the dashboard format (not UUID).

@dot-agi dot-agi self-requested a review March 24, 2025 23:11
@dot-agi dot-agi merged commit aaa2aed into main Mar 24, 2025
8 of 10 checks passed
@dot-agi dot-agi deleted the session_url branch March 24, 2025 23:12
tcdent added a commit that referenced this pull request Mar 24, 2025
* Log deeplink to trace on AgentOps dashboard.

* Test coverage, type checking.

* Get app_url from config.

* Don't format trace_id in the URL as a UUID, just a hex string.
dot-agi added a commit that referenced this pull request Mar 24, 2025
* Fix: Improve serialization of completions/responses in Agents SDK instrumentation

Co-Authored-By: [email protected] <[email protected]>

* Fix: Improve serialization of completions/responses in Agents SDK instrumentation

Co-Authored-By: [email protected] <[email protected]>

* Tests for completions.

* Separate OpenAI tests into `completion` and `responses`

* Refactor completions and responses unit tests.

* agents SDK test using semantic conventions.

* semantic conventions in openai completions and responses tests

* Exporter refactor and generalization. standardization and simplification of version of values into semantic types.

* Continued refactor of Agents instrumentor. Usurp third-party implementation.

* Semantic conventions for messages.

* Tools for generating real test data from OpenAI Agents.

* support tool calls and set of responses. missing import

* reasoning tokens, semantic conventions, and implementation in OpenAI agent responses.

* populate agents SDK tests with fixture data. Simplify fixture data generation tooling. increased test coverage

* Add chat completion support to openai_agents. Cleanup OpenAI agents instrumentation.

* Agents instrumentor cleanup.

* Cleanup.

* Cleanup init.

* absolute import.

* fix breaking error.

* Correct naming

* rename

* Refactor completions to always use semantic conventions.

* More robust output

* use openai_agents tracing api to gather span data.

* Agents associates spans with a parent span and exports.

* OpenAi responses instrumentor.

* Delete examples/agents-examples/basic/hello_world.py

* pass strings to serialize and return them early.

* deduplication and better hierarchy. simplification of tests. separation of concerns.

* Notes and working documents that should not make it into main.

* more descriptive debug messaging in OpenAI Agents instrumentor

* pertinent testing information in claude.md.

* better version determination for the library.

* Test for generation tokens as well.

* Cleanup attribute formatting to use modular function format with specific responsibilites. Spans are now nested and started/ended at the correct time. Tests generate fixture data from the live API for OpenAI agents.

* Remove duplicated model export from processor.

* nest all spans under the parent_trace root span and open and close the root span only after execution is complete

* clean up common attributes parsing helpers.

* Simplify processor.

* Cleanup exporter.

* Cleanup instrumentor

* Cleanup attributes

* Update README and SPANS definition. Add example with tool usage.

* Fix tool usage example.

* Get completion data on outputs.

* Delete notes

* Fix tests for attributes. Rewmove debug statements.

* Implement tests for OpenAi agents.

* Better naming for spans.

* Openai Response type parsing improvements.

* Cleanup exporter imports and naming.

* Handoff agent example.

* Cleanup imports on common.

* Disable openai completions/responses tests. TODO probably delete these.

* Disable openai responses intrumentor; it is handled inside openai_agents exclusively for now.

* Add note about enabling chat.completions api instead of responses.

* Move exporter convention notes to README

* Update tests.

* Disable openai responses instrumentation test.

* Skip `parse` serialization tests.

* Cleanup openai responses instrumention and tests; will be included in a separate PR.

* Resolve type checking errors.

* get correct library version

* remove debug statements and import LIBRARY_VERSION

* Log deeplink to trace on AgentOps dashboard. (#879)

* Log deeplink to trace on AgentOps dashboard.

* Test coverage, type checking.

* Get app_url from config.

* Don't format trace_id in the URL as a UUID, just a hex string.

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Pratyush Shukla <[email protected]>
Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants